import HYRequest from "../request"

export function getOrderData(type = "all") {
  return HYRequest.get({
    url: `/order/list?type=${type}`,
  })
}